var datalist, conditionObj = {duration: "1", orderType: "1", orderStatus: "1", currentPage: "1"};
var sign = false, _tval = _type_val = "1";
var arr = [{key: "pendingPay", val: "2"}, {key: "pendingConfirm", val: "3"}, {key: "pendingComment", val: "7"}, {key: "ordertype", val: "3"}];
var url = window.location.href;
for (var i = 0; i < arr.length; i++) {
    var o = arr[i];
    if (url.indexOf(o.key) != -1) {
        sign = true;
        if (o.key !== "ordertype") {
            _tval = o.val
        } else {
            _type_val = o.val
        }
        break
    }
}
if (sign === true) {
    conditionObj = {duration: "1", orderType: _type_val, orderStatus: _tval, currentPage: "1"}
}
var _JSON = {stringify: function(e) {
        var r;
        try {
            r = JSON.stringify(e)
        } catch (i) {
            r = this.toJSONString(e)
        }
        return r
    }, evalJSON: function(strJson) {
        return eval("(" + strJson + ")")
    }, toJSONString: function(e) {
        var r = typeof e;
        if ("object" == r) {
            if (Array == e.constructor)
                r = "array";
            else if (RegExp == e.constructor)
                r = "regexp";
            else
                r = "object"
        }
        switch (r) {
            case"undefined":
            case"unknown":
                return;
                break;
            case"function":
            case"boolean":
            case"regexp":
                return e.toString();
                break;
            case"number":
                return isFinite(e) ? e.toString() : "null";
                break;
            case"string":
                return'"' + e.replace(/(\\|\")/g, "\\$1").replace(/\n|\r|\t/g, function() {
                    var e = arguments[0];
                    return e == "\n" ? "\\n" : e == "\r" ? "\\r" : e == "	" ? "\\t" : ""
                }) + '"';
                break;
            case"object":
                if (e === null)
                    return"null";
                var i = [];
                for (var n in e) {
                    var t = this.toJSONString(e[n]);
                    if (t !== undefined)
                        i.push(this.toJSONString(n) + ":" + t)
                }
                return"{" + i.join(",") + "}";
                break;
            case"array":
                var i = [];
                for (var o = 0; o < e.length; o++) {
                    var t = this.toJSONString(e[o]);
                    if (t !== undefined)
                        i.push(t)
                }
                return"[" + i.join(",") + "]";
                break
            }
    }};
$.when($.ajax({type: "get", url: "http://order" + cookieDomain + "/orderlist/getMyOrderList", data: conditionObj, dataType: "jsonp", jsonpName: "ckdataInit"}).done(function(e) {
    datalist = e
}), $.ajax(stageJsServer + "/??/gmlib/unit/gomelib/1.0.0/gomelib.min.js," + "/gmlib/cookie/1.0.0/cookie.min.js," + "/gmlib/unit/live800/1.0.0/live800.min.js," + "/gmlib/ui/arttemplate/2.0.1/template.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/config.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/component.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/component/pager.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/component/combox.min.js," + "/gmpro/1.0.0/member/1.0.0/ucleft/1.0.0/tpl/ucLeftNavTpl.min.js," + "/gmpro/1.0.0/member/1.0.0/ucleft/1.0.0/js/ucLeftNavLive.min.js," + "/gmlib/unit/gtime/1.0.0/gtime.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/include/hwgDialog.min.js," + "/gmpro/1.0.0/member/1.0.0/myOrder/1.0.0/tpl/myOrdersTpl.min.js," + "/gmpro/1.0.0/member/1.0.0/myOrder/1.0.0/js/myOrdersLive.min.js?v=" + versionData, {dataType: "script", cache: true})).then(function() {
    window.interactive.renderOrderListTpl(1, datalist.result)
});
$.ajax(stageJsServer + "/??/gmlib/cookie/1.0.0/cookie.min.js," + "/gmlib/ui/gload/1.0.0/gload.min.js," + "/gmpro/1.0.0/public/1.0.0/js/adslide.min.js," + "/gmpro/1.0.0/public/1.0.0/js/cart.min.js," + "/gmlib/ui/gclickshow/1.0.0/gclickshow.min.js," + "/gmlib/ui/ghover/1.0.0/ghover.min.js," + "/gmlib/ui/ginputfocus/1.0.0/ginputfocus.min.js," + "/gmlib/ui/glaterimg/1.0.0/glaterimg.min.js," + "/gmlib/ui/greplaceimg/1.0.0/greplaceimg.min.js," + "/gmlib/ui/gbacktop/1.0.0/gbacktop.min.js," + "/gmlib/ui/curnav/1.0.0/curnav.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/gSlider.min.js," + "/gmlib/unit/searchautopoint/1.0.0/searchautopoint.min.js," + "/gmpro/1.0.0/member/1.0.0/common/1.0.0/js/include/header.min.js?v=" + versionData, {dataType: "script", cache: true}).error(function(e, r, i) {
    console.log(i)
}).done(function() {
    $.ajax(stageJsServer + "/??/f2ejs/plugins/parabola.min.js,/f2ejs/common/jfnend.min.js" + "?v=" + versionData, {dataType: "script", cache: true}).done(function() {
        setTimeout(function() {
            $.ajax(stageJsServer + "/??/js/gz/adobe/s_code-gz.min.js,/f2ejs/common/bigData.min.js,/f2ejs/common/sCodeCommon.min.js?v=" + versionData, {dataType: "script", cache: true}).done(function() {
                var e = "用户中心:我的交易:我的订单", r = "用户中心";
                if (e && e != "") {
                    s.pageName = e;
                    var i = s.pageName.split(":");
                    s.channel = i[0];
                    s.prop1 = i[0] + ":" + i[1];
                    if (i[2]) {
                        s.prop2 = i[0] + ":" + i[1] + ":" + i[2]
                    }
                    if (i[3]) {
                        s.prop3 = i[0] + ":" + i[1] + ":" + i[2] + ":" + i[3]
                    }
                    s.prop4 = r;
                    var n = s.t();
                    if (n)
                        document.write(n)
                }
            })
        }, 1e3)
    })
});